#ifndef __APPLICATION_HPP__
#define __APPLICATION_HPP__ 1

class CInput;
class EventHandler;
struct Event;

class CApplication
{
public:
	CApplication(int framerate);
	~CApplication();

	void Run();

	// Event handlers
	bool OnShutdown(Event*);
	bool OnMouseInput(Event* evt);

private:
	EventHandler* eventHandler;
	CInput* inputManager;
	//bool inputThreadCreated;
	bool shutdown;

	int frame;
	int framerate;
	int ticksperframe;
};

#endif // __APPLICATION_HPP__